package com.bana.sys.model;

import java.util.ArrayList;
import java.util.List;

public class Statistics {

    private List<Series> series;

    private List<String> xAxis;

    public Statistics()
    {
        series=new ArrayList<>();
        xAxis=new ArrayList<>();
    }

    public List<Series> getSeries() {
        return series;
    }

    public void setSeries(List<Series> series) {
        this.series = series;
    }

    public List<String> getxAxis() {
        return xAxis;
    }

    public void setxAxis(List<String> xAxis) {
        this.xAxis = xAxis;
    }

    public static class Series
    {
        private String name;

        private List<Integer> yAxis;
        private List<String> zAxis;

        public Series()
        {
            yAxis=new ArrayList<>();
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<Integer> getyAxis() {
            return yAxis;
        }

        public void setyAxis(List<Integer> yAxis) {
            this.yAxis = yAxis;
        }

        public List<String> getzAxis() {
            return zAxis;
        }

        public void setzAxis(List<String> zAxis) {
            this.zAxis = zAxis;
        }
    }
}
